package com.sy.dynamic.controller;


import com.sy.dynamic.primary.UserMapperPrimary;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/test")
public class TestController {

    @Resource
    private UserMapperPrimary userMapperPrimary;

    @GetMapping
    public void add(){
        int zz = userMapperPrimary.insert("zz", 11);
        System.out.println(zz);
    }
}
